package cn.sunshine.ymcc.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * @Author: Eric
 * @CreateTime: 2022-08-06  14:32
 * @Description: TODO
 */
@Component
@ConfigurationProperties(prefix = "smscode")
@Data
@RefreshScope
public class SmsCodeProperties {
    private Long expire;
    private Long interval;
}
